/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-06-18     Lenovo       the first version
 */
#ifndef APPLICATIONS_FENGSHAN_H_
#define APPLICATIONS_FENGSHAN_H_

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <rtdef.h>
#include <jiashiqi.h>
#include <rtdbg.h>
#include <fengshan.h>

#define Xfan  GET_PIN(D,  8) //5V循环风扇
#define Sfan  GET_PIN(D,  10)//12V散热风扇

void FAN_Init();
void CCFAN_On();
void CCFAN_Off();
void COFAN_On();
void COFAN_Off();

#endif /* APPLICATIONS_FENGSHAN_H_ */
